import { createApp } from 'vue'
import App from './App.vue'
import router from './routes'
import { createPinia } from 'pinia'
import piniaPluginPersist from 'pinia-plugin-persist'
import './dist/cdn/zondyclient/webclient-openlayers-plugin.min.js'
import 'file-saver'
// 全局引入UI
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
import '@ant-design/icons-vue'

// 引入中地
import '@/dist/cdn/ol/ol.css'
// 滑块验证

const store = createPinia()
store.use(piniaPluginPersist)

const app = createApp(App)
app.use(router)
app.use(Antd)
app.use(store)
app.mount('#app')
